/**
 * @author helio
 */
if(!SALE.dao.LocalDaoFactory)SALE.dao.LocalDaoFactory = Ext.extend(SALE.dao.DaoFactory, {
	getCategoriesDao : function(){
		if(!this.categoryDao) {
			this.categoryDao = new SALE.dao.local.CategoriesDao();
			this.categoryDao.initCategoriesDoc();
		}
		return this.categoryDao;
	},
	
	getClientsDao : function(){
		if(!this.clientsDao) {
			this.clientsDao = new SALE.dao.local.ClientsDao();
		}
		return this.clientsDao;
	},
	
	getManufacturerDao : function(){
		if(!this.manufacturerDao) {
			this.manufacturerDao = new SALE.dao.local.ManufacturerDao();
		}
		return this.manufacturerDao;
	},
	
	getPersonnelDao : function(){
		if(!this.personnelDao) {
			this.personnelDao = new SALE.dao.local.PersonnelDao();
		}
		return this.personnelDao;
	},
	
	getProductsDao : function(){
		if(!this.productsDao) {
			this.productsDao = new SALE.dao.local.ProductsDao();
		}
		return this.productsDao;
	},
	
	getPurchaseOrderDao : function(){
		if(!this.purchaseOrderDao) {
			this.purchaseOrderDao = new SALE.dao.local.PurchaseOrderDao();
			this.purchaseOrderDao.initOrderDoc();
		}
		return this.purchaseOrderDao;
	},
	
	getSaleBillDao : function(){
		if(!this.saleBillDao) {
			this.saleBillDao = new SALE.dao.local.SaleBillDao();
			this.saleBillDao.initBillDoc();			
		}
		return this.saleBillDao;
	},
	
	getTransferBillDao : function(){
		if(!this.transferBillDao) {
			this.transferBillDao = new SALE.dao.local.TransferBillDao();
			this.transferBillDao.initBillDoc();			
		}
		return this.transferBillDao;
	},
	
	getStockDao : function(){
		if(!this.stockDao) {
			this.stockDao = new SALE.dao.local.StockDao();			
			this.stockDao.initStockDoc();
		}
		return this.stockDao;
	},
	
	getStoragesDao : function(){
		if(!this.storageDao) {
			this.storageDao = new SALE.dao.local.StorageDao();
		}
		return this.storageDao;
	},
	
	getCompanyDeptDao : function(){
		if(!this.companyDeptDao) {
			this.companyDeptDao = new SALE.dao.local.CompanyDeptDao();
		}
		return this.companyDeptDao;
	},
	
	getClassificationsDao : function(){
		if(!this.classificationsDao) {
			this.classificationsDao = new SALE.dao.local.ClassificationsDao();
		}
		return this.classificationsDao;
	},
	
	getBankAccountDao : function(){
		if(!this.bankAccountDao) {
			this.bankAccountDao = new SALE.dao.local.BankAccountDao();
			this.bankAccountDao.initDoc();
		}
		return this.bankAccountDao;
	},
	
	getBillCodeDao : function(){
		if(!this.billCodeDao) {
			this.billCodeDao = new SALE.dao.local.BillCodeSupportDao();
			this.billCodeDao.initDoc();
		}
		return this.billCodeDao;
	},
	
	getPaymentDao : function(){
		if(!this.paymentDao) {
			this.paymentDao = new SALE.dao.local.PaymentDao();
			this.paymentDao.initPaymentDoc();
		}
		return this.paymentDao;
	}
});
